package com.hwd.gmall.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 网关微服务的配置类
 * @author 黄伟东/Victor
 * @date 2022/5/7 18:08
 */
@Configuration
@ConfigurationProperties(prefix = "gmall.gateway")
public class GatewayConfig {

    private List<String> ignoreUrl;

    public List<String> getIgnoreUrl() {
        return ignoreUrl;
    }

    public void setIgnoreUrl(List<String> ignoreUrl) {
        this.ignoreUrl = ignoreUrl;
    }
}
